package com.psy.counseling.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *
 * @author 梁学儒
 * @since 2022-05-31
 *
 * id : 值班主键
 * start : 开始时间
 * end : 结束时间
 * day : 周几
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long useId;

    private String start;

    private String end;

    private Integer day;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;


}
